#include"tache.h"
#include<QDebug>
using namespace std;
Tache::Tache(QString name, double temps,QString sesAntecedents)
{
    nom = name;
    duree = temps;
    listeAntecedents = sesAntecedents;
    dateDebutPlusTot = NULL;
    dateDebutPlusTard = NULL;
    dateFinPlusTot = NULL;
    dateFinPlusTard = NULL;
}
Tache::Tache(const Tache &t)
{
    nom = t.nom;
    duree = t.duree;
    listeAntecedents = t.listeAntecedents;
    dateDebutPlusTot = NULL;
    dateDebutPlusTard = NULL;
    dateFinPlusTot = NULL;
    dateFinPlusTard = NULL;
}
Tache::~Tache()
{
}
QString Tache::getListeAntecedents()
{
    return listeAntecedents;
}
QString Tache::getNom()
{
    return nom;
}
double Tache::getDuree()
{
    return duree;
}
void Tache::setNewListeAntecedents(QString temp)
{
    listeAntecedents = temp;
}
